package com.guoguo.enums;

/**
 * Created by Administrator on 2017/11/9 0009.
 */
public enum TaskEnum {

    TASK_GIFT_SIGN(1, "签到礼包"),
    TASK_GIFT_DAY(2, "每日礼包"),

    TASK_REQUIRE_INVITE(1, "邀请"),
    TASK_REQUIRE_LIKE(2, "点赞"),
    TASK_REQUIRE_COMMENT(3, "评论"),
    TASK_REQUIRE_SHARE(4, "分享"),
    TASK_REQUIRE_LOGIN(5, "连续登陆"),
    TASK_REQUIRE_LV(6, "Lv"),
    TASK_REQUIRE_SIGN(7, "签到累计"),

    TASK_RESET_DAY(1, "每日"),
    TASK_RESET_WEEK(7, "每周"),
    TASK_RESET_MONTH(30, "每月"),

    TASK_REWARD_POINT(1, "G币"),
    TASK_REWARD_EXP(2, "Exp经验"),
    TASK_REWARD_GIFT(3, "礼物"),
    TASK_REWARD_PROPS(4, "道具"),

    TASK_STATUS_HIDDEN(0, "隐藏"),
    TASK_STATUS_NORMAL(1, "正常"),

    TASK_REQUEST_SUCCESS(200, "请求成功！！"),
    TASK_BATCH_SUCCESS(200, "批量操作成功，共有{0}条数据被操作！！");

    private int id;
    private String value;

    TaskEnum(int id, String value) {
        this.id = id;
        this.value = value;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
